const Merge = require('webpack-merge');
const webpack = require('webpack');

const BaseConfig = require('./webpack.base.js');

module.exports = Merge(BaseConfig, {
    devtool: 'inline-source-map',
    devServer: {
        hot: true,
        host: 'localhost',
        historyApiFallback: true,
        noInfo: false,
        stats: 'minimal',
    },
    plugins: [
        new webpack.HotModuleReplacementPlugin()
    ]
})